#ifndef SETWIG_H
#define SETWIG_H

#include <QWidget>
#include <QTimer>   // 定时器类
#include <QDateTime>
namespace Ui {
class SetWig;
}

class SetWig : public QWidget
{
    Q_OBJECT

public:
    explicit SetWig(QWidget *parent = 0);
    ~SetWig();

private:
    Ui::SetWig *ui;
    QTimer *timer;  // 定时器对象
private slots:
    void dataUpSlot(QByteArray);//接收数据并显示
    void timeoutSlot();
};

#endif // SETWIG_H
